package com.example.postman.wechat;

import com.alibaba.fastjson.JSON;
import com.example.postman.postReques.util.HttpUtil;
import com.example.postman.wechat.dto.GetReturnDataDTO;

public class WechatPost {
    public static void main(String[] args) {
        String requestUrl = "https://mini.wailian1.cn/web/article/cNSPjfhm5c1B9Rfb?sign=b5aacba5fb6b5135f14dc22fab3f2e27";
        String response = HttpUtil.get(requestUrl);
        GetReturnDataDTO dataDTO = JSON.parseObject(response, GetReturnDataDTO.class);
        System.out.println(JSON.toJSONString(dataDTO));
    }
}
